.container {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 24px 16px;
  padding: 24px 16px;
  background: #f7f7f7;
}

.card {
  position: relative;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  height: 280px;
}

.card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  height: 350px;
}

.img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: all 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.gaokao-img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.qq-img {
  border-radius: 12px;
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.qikaide-img {
  border-radius: 6px;
  filter: brightness(1.05);
}

.mangong-img {
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.biye-img {
  border-radius: 8px;
  filter: contrast(1.1);
}

.yinqing-img {
  border-radius: 15px;
  transform: scale(1.01);
}

.mz-img {
  border-radius: 8px;
  filter: saturate(1.1);
}

.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff4d4f;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  border-radius: 8px;
  padding: 2px 10px;
  z-index: 2;
  letter-spacing: 1px;
}

.type {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  border-radius: 6px;
  padding: 1px 8px;
  z-index: 2;
  transition: opacity 0.2s;
  opacity: 1;
}

.card:hover .type {
  opacity: 0;
}

.hoverContent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 2;
}

.card:hover .hoverContent {
  opacity: 1;
  pointer-events: auto;
}

.topBar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 10px 0 10px;
}

.icons {
  display: flex;
  gap: 8px;
}

.star {
  width: 20px;
  height: 25px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  padding: 0px 3px;
  font-size: 16px;
  color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: background 0.2s;
  margin-left: 120px;
}

.more {
  width: 20px;
  height: 25px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  padding: 0px 7px;
  font-size: 16px;
  color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: background 0.2s;
}

.star:hover,
.more:hover {
  background: #ffeaea;
  color: #000;
 
  
}

.bottomBar {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 0 0 10px 10px;
  padding: 10px 12px 8px 12px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
  z-index: 9999;
}

.title {
  font-size: 15px;
  font-weight: bold;
  color: #222;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.username {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.views {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #b0b0b0;
  margin-left: 50px;
}

.eyeIcon {
  margin-right: 2px;
  vertical-align: middle;
}

@media (max-width: 1200px) {
  .container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 800px) {
  .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .card {
    height: 220px;
  }

  .title {
    font-size: 16px;
  }

  .subtitle {
    font-size: 12px;
  }
}

.pageBar {
  display: flex;
  align-items: center;
  margin-top: 250px;
  position: relative;
  padding: 0 8px 8px 8px;
}

.pageInfo {
  background: #263238;
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 14px;
  margin-right: 8px;
  min-width: 38px;
  text-align: center;
}

.progressBar {
  flex: 1;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.progress {
  height: 100%;
  background: #1976d2;
  transition: width 0.3s;
}